﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Slideshow.ascx.cs" Inherits="VIT.Web.Modules.Slideshow.Slideshow" %>

<script src="Includes/slideshow/jquery.cycle.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $('#slideshow').cycle({
            fx: 'fade,slideX,slideY,zoom,fadeZoom,growX,growY,curtainX,curtainY,wipe'
        });
    });
</script>
<div id="slideshow">
    <asp:Repeater ID="rpt" runat="server">
        <ItemTemplate>
            <img src="uploads/images/logos/<%#Eval("FileName") %>" width="<%=this.Params["Width"] %>px"
                height="<%=this.Params["Height"] %>px" alt="<%#Eval("Title") %>" />
        </ItemTemplate>
    </asp:Repeater>
</div>
